/*
 * @Author: wukunling 13022195532@163.com
 * @Date: 2024-12-01 17:27:34
 * @LastEditors: wukunling 13022195532@163.com
 * @LastEditTime: 2024-12-01 23:10:29
 * @FilePath: /whole-station/front-end-main/src/router/module/home.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { type RouteRecordRaw } from 'vue-router'
import { shallowRef } from 'vue'
import Layout from '../../layout/index.vue'
export const cpm: RouteRecordRaw[] = [
  {
    path: '/cpm',
    component: shallowRef(Layout),
    meta: { title: 'cpm', icon: 'system' },
    name: 'cpm',
    redirect: '/cpm/cpm_one',
    children: [
      {
        path: 'cpm_one',
        component: () => import('@/views/home/index.vue'),
        name: 'cpm_one',
        meta: { title: 'cpm_one' }
      },
      {
        path: 'cpm_two',
        component: () => import('@/views/home/index.vue'),
        name: 'cpm_two',
        meta: { title: 'cpm_two' }
      }
    ]
  }
]
